import Operator from "./Operator";
import { RC } from "../config/RC";
import MessageBox from "../entities/MessageBox";
import Users from "../entities/User";
import Group from "../entities/Group";
import {USER} from "../config/config";

class CheckNameGetOrNotOperation extends Operator {
    public async execute(): Promise<RC> {
        const type = this.args.getProperty('type');
        if(type == "null")
        {
            return RC.ID_NOTEXIST;
        }else
        return RC.SUCCESS;
    }
}

export default CheckNameGetOrNotOperation;
